package com.cpumonitor;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * ClassName: CpuTotalLinuxInfo
 * Description: TODO
 * User: kevin
 * Date: 2018-11-22
 * Time: 下午2:05
 */
public class CpuTotalLinuxInfo extends CpuTotalInfo {

    //逻辑CPU的个数
    private int cpu_processor;

    //us 用户空间占用CPU百分比
    private double us;

    //sy 内核空间占用CPU百分比
    private double sy;

    //ni 用户进程空间内改变过优先级的进程占用CPU百分比
    private double ni;

    //id 空闲CPU百分比
    private double id;

    //wa 等待输入输出的CPU时间百分比
    private double wa;

    //
    private double hi;

    //
    private double si;

    //
    private double st;

    //pri
    private List<ProcessLinuxInfo> processLinuxInfos;

    public int getCpu_processor() {
        return cpu_processor;
    }

    public void setCpu_processor(int cpu_processor) {
        this.cpu_processor = cpu_processor;
    }

    public double getUs() {
        return us;
    }

    public void setUs(double us) {
        this.us = us;
    }

    public double getSy() {
        return sy;
    }

    public void setSy(double sy) {
        this.sy = sy;
    }

    public double getNi() {
        return ni;
    }

    public void setNi(double ni) {
        this.ni = ni;
    }

    public double getId() {
        return id;
    }

    public void setId(double id) {
        this.id = id;
    }

    public double getWa() {
        return wa;
    }

    public void setWa(double wa) {
        this.wa = wa;
    }

    public double getHi() {
        return hi;
    }

    public void setHi(double hi) {
        this.hi = hi;
    }

    public double getSi() {
        return si;
    }

    public void setSi(double si) {
        this.si = si;
    }

    public double getSt() {
        return st;
    }

    public void setSt(double st) {
        this.st = st;
    }

    public List<ProcessLinuxInfo> getProcessLinuxInfos() {
        return processLinuxInfos;
    }

    public void setProcessLinuxInfos(List<ProcessLinuxInfo> processLinuxInfos) {
        this.processLinuxInfos = processLinuxInfos;
    }
}
